<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Index extends Admin_Controller {
	
	function __construct()
	{
		parent::__construct();
	}
	
	public function index()
	{
		$vData = array(
			'pages' => $this->admin->getBlogsStats(),
			'users' => $this->admin->getUsersCount()
		);
		
		$data = array(
			'content' => $this->load->view('admin/index_page', $vData, true)
		);
		
		$this->getPage($data);
	}
}

?>